import request from "../utils/request";

//修改密码
export function resetPassword(params) {
	return request({
    url: `/user/resetPassword?userId=${params.userId}&oldPassword=${params.oldPassword}&newPassword=${params.newPassword}`,
    method: "post"
  });
}